//
//  GPHomeView.h
//  GoldPig
//
//  Created by 虎爷 on 2019/10/17.
//  Copyright © 2019 虎爷. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "UPLabel.h"
@import AudioToolbox;

NS_ASSUME_NONNULL_BEGIN

@interface GPHomeView : UIView
+ (instancetype)initGPHomeView;
@property (nonatomic ,copy) void (^rainClickBlock)(void);
@property (nonatomic ,copy) void (^taskClickBlock)(void);
@property (nonatomic ,copy) void (^redClickBlock)(void);
@property (nonatomic ,copy) void (^diamondClickBlock)(void);
@property (nonatomic ,copy) void (^withdrawalCilckBlock)(void);
@property (nonatomic ,copy) void (^mapCilckBlock)(void);
@property (nonatomic ,copy) void (^getPigGoldCilckBlock)(void);
@property (nonatomic ,copy) void (^checkCilckBlock)(void);
@property (nonatomic ,copy) void (^workCilckBlock)(void);

@property (weak, nonatomic) IBOutlet UILabel *diamondsTimeLab;
@property (weak, nonatomic) IBOutlet UILabel *goldLab;
@property (weak, nonatomic) IBOutlet UILabel *diamondLab;
@property (weak, nonatomic) IBOutlet UILabel *capacityLab;
@property (weak, nonatomic) IBOutlet UILabel *givenNumLab;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *levelProgress_layout;
@property (weak, nonatomic) IBOutlet UIButton *rainBtn;
@property (weak, nonatomic) IBOutlet UILabel *remainNumLab;
@property (weak, nonatomic) IBOutlet UPLabel *levelRewardLab;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *levelRemainLayout;

@property (nonatomic,strong) NSNumber *level;

@end

NS_ASSUME_NONNULL_END
